<template>
  <div class="searchBox">
      <div class="searchBox_c">
        <p>
          <strong><b>A</b>YM</strong>
          <span>V-Test</span>
        </p>
        <el-input placeholder="请输入内容" v-model="input" class="searchInput">
        <el-select v-model="select" slot="prepend" placeholder="请选择">
          <el-option label="餐厅名" value="1"></el-option>
          <el-option label="订单号" value="2"></el-option>
          <el-option label="用户电话" value="3"></el-option>
        </el-select>
        <el-button slot="append" @click="search" icon="el-icon-search"></el-button>
      </el-input>
        <!-- <el-button class="searchBtn" @click="search">搜索</el-button> -->
      </div>
  </div>
</template>

<script>
export default {
  name: "Login",
  data() {
    return {
        select:'',
        input:''
    };
  },
  methods: {
    search() {
      this.$router.push({ path: "/summary" });
    },
  },
};
</script>

<style scoped lang="scss"></style>
